package ru.vboxdc.service;

import ru.vboxdc.iface.HostServerManager;
import ru.vboxdc.impl.vbox.VBoxHostServerManager;

import java.util.Map;

/**
 * User: lelon
 * Date: 19.02.2009
 * Time: 20:02:07
 */
public class ManagerFactory {

    public HostServerManager createHostServerManager(Map parametersMap) {
        //Todo: Redo to more types of servers
        HostServerManager hostServerManager = null;
  //      switch ((String)parametersMap.get("ServerType")) {
  //          case "VIRTUALBOX":
                hostServerManager = new VBoxHostServerManager(parametersMap);
   /*             break;

            case "XEN":
                break;

            default:
                break;
        }*/
        return hostServerManager;
    }

}
